<template>
  <div class="header">
    <div class="left_g"><i class="iconfont icon-menu-icon"></i></div>

    <div class="right_g">
      <span class="server">管理员</span>
      <i class="iconfont icon-power-icon"></i>
    </div>
  </div>
</template>

<script>
  export default {
    name: "AppHeader"
  }
</script>

<style lang="scss" scoped>

  /* 头部样式 */
  .header {
    position: fixed;
    height: 60px;
    line-height: 60px;
    top: 0px;
    left: 220px;
    right: 0px;
    background-color: #fff;
    z-index: 999;
    color: #fff;
  }
  .left_g{
    float: left;

      .icon-menu-icon {
        font-size: 23px;
        padding: 0 22px;
        color: #73849b;
      }
  }
   .right_g{
    float: right;
    // 列居中
    display: flex;
    align-content: center;

    .icon-power-icon{
      font-size: 23px;
      padding: 0 22px;
      color: #73849b;
    }
    .server{
      color: #73849b;
      padding: 0px 20px;
      padding-right: 0px;
    }
  }


  
</style>